package com.lx.patterns.adapter.class_adaper;

/**
 * @ClassName Client
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/17 22:11
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/17 22:11
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) {
        Computer computer = new Computer();

        SDCard sdCard = new SDCardImpl();

        System.out.println(computer.readSD(sdCard));

        System.out.println("===========");

        Computer computer1 = new Computer();

        SDCard sdCard1 = new SDAdapterTF();

        System.out.println(computer1.readSD(sdCard1));


    }
}
